name: tests_tapi
run_id: commands[0]
env HOME: /home/jenkins
env LANG: C.UTF-8
env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin:/opt/pyenv/bin:/tmp/venv-eelT/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin
env PYTHONHASHSEED: 459624983
env PIP_DISABLE_PIP_VERSION_CHECK: 1
env PYTHONIOENCODING: utf-8
env USE_ODL_ALT_KARAF_ENV: ./karaf221.env
env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221
env INSTALL_TAPI: True
env OLM_TIMER1: 3000
env OLM_TIMER2: 2000
env TOX_ENV_NAME: tests_tapi
env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox
env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi
env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi
metadata pid: 30583
cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests
allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin/*:launch_tests.sh
cmd: ./launch_tests.sh tapi
exit_code: 1
using environment variables from ./karaf221.env
pytest -q transportpce_tests/tapi/test01_abstracted_topology.py
..................................................                       [100%]
50 passed in 411.07s (0:06:51)
pytest -q transportpce_tests/tapi/test02_full_topology.py
..........FF..................                                           [100%]
=================================== FAILURES ===================================
________________ TransportPCEtesting.test_11_check_otn_topology ________________

self = <test02_full_topology.TransportPCEtesting testMethod=test_11_check_otn_topology>

    def test_11_check_otn_topology(self):
        response = test_utils.get_ietf_network_request('otn-topology', 'config')
        self.assertEqual(response['status_code'], requests.codes.ok)
>       self.assertEqual(len(response['network'][0]['node']), 6, 'There should be 6 otn nodes')
E       AssertionError: 7 != 6 : There should be 6 otn nodes

transportpce_tests/tapi/test02_full_topology.py:266: AssertionError
_____________ TransportPCEtesting.test_12_check_openroadm_topology _____________

self = <test02_full_topology.TransportPCEtesting testMethod=test_12_check_openroadm_topology>

    def test_12_check_openroadm_topology(self):
        response = test_utils.get_ietf_network_request('openroadm-topology', 'config')
        self.assertEqual(response['status_code'], requests.codes.ok)
>       self.assertEqual(len(response['network'][0]['node']), 13, 'There should be 13 openroadm nodes')
E       AssertionError: 14 != 13 : There should be 13 openroadm nodes

transportpce_tests/tapi/test02_full_topology.py:272: AssertionError
=========================== short test summary info ============================
FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_11_check_otn_topology
FAILED transportpce_tests/tapi/test02_full_topology.py::TransportPCEtesting::test_12_check_openroadm_topology
2 failed, 28 passed in 270.79s (0:04:30)